<template>
  <div style="padding:15px">
    <el-tabs type="border-card" v-model="active"> 
      <el-tab-pane label="单据明细" name="1">
        <OrderDetail ref='OrderDetail'></OrderDetail>
      </el-tab-pane>
      <el-tab-pane label="扫码信息" name="2" :disabled="!$store.getters.data().WarehouseIdByCahe" >
        <InventoryChangeLog  ref="InventoryChangeLog"></InventoryChangeLog>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import OrderDetail from '../order/Wms_OrderDetail.vue'
import InventoryChangeLog from '../reports/Wms_InventoryChangeLog.vue'
export default {
  components: {
    OrderDetail,
    InventoryChangeLog
  },
  data() {
    return {
      active: '1'
    }
  },
  mounted() {

  },
  methods: {
    topRowClick(row) {
      this.$refs.OrderDetail.$refs.grid.search()
      
      this.$refs?.InventoryChangeLog?.$refs.grid.search()

      //查询界面点击行事件
    },
  }
}
</script>

<style></style>
